Optimal. Leaf size=65 \[ -\frac{2 x^{1-\frac{n}{4}} (d x)^{\frac{n-4}{4}} \left (a g+2 a h x^{n/4}-c f x^{n/2}\right )}{a n \sqrt{a+c x^n}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.15557, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 54, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.037, Rules used = {1817, 1816} \[ -\frac{2 x^{1-\frac{n}{4}} (d x)^{\frac{n-4}{4}} \left (a g+2 a h x^{n/4}-c f x^{n/2}\right )}{a n \sqrt{a+c x^n}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1817
Rule 1816
Rubi steps
\begin{align*} \int \frac{(d x)^{-1+\frac{n}{4}} \left (-a h+c f x^{n/4}+c g x^{3 n/4}+c h x^n\right )}{\left (a+c x^n\right )^{3/2}} \, dx &=\left (x^{1-\frac{n}{4}} (d x)^{-1+\frac{n}{4}}\right ) \int \frac{x^{-1+\frac{n}{4}} \left (-a h+c f x^{n/4}+c g x^{3 n/4}+c h x^n\right )}{\left (a+c x^n\right )^{3/2}} \, dx\\ &=-\frac{2 x^{1-\frac{n}{4}} (d x)^{\frac{1}{4} (-4+n)} \left (a g+2 a h x^{n/4}-c f x^{n/2}\right )}{a n \sqrt{a+c x^n}}\\ \end{align*}
Mathematica [A] time = 0.156561, size = 64, normalized size = 0.98 \[ \frac{2 x^{-n/4} (d x)^{n/4} \left (c f x^{n/2}-a \left (g+2 h x^{n/4}\right )\right )}{a d n \sqrt{a+c x^n}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.043, size = 0, normalized size = 0. \begin{align*} \int{ \left ( dx \right ) ^{-1+{\frac{n}{4}}} \left ( -ah+cf{x}^{{\frac{n}{4}}}+cg{x}^{{\frac{3\,n}{4}}}+ch{x}^{n} \right ) \left ( a+c{x}^{n} \right ) ^{-{\frac{3}{2}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (c g x^{\frac{3}{4} \, n} + c f x^{\frac{1}{4} \, n} + c h x^{n} - a h\right )} \left (d x\right )^{\frac{1}{4} \, n - 1}}{{\left (c x^{n} + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.44246, size = 163, normalized size = 2.51 \begin{align*} \frac{2 \,{\left (c d^{\frac{1}{4} \, n - 1} f x^{\frac{1}{2} \, n} - 2 \, a d^{\frac{1}{4} \, n - 1} h x^{\frac{1}{4} \, n} - a d^{\frac{1}{4} \, n - 1} g\right )} \sqrt{c x^{n} + a}}{a c n x^{n} + a^{2} n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (c g x^{\frac{3}{4} \, n} + c f x^{\frac{1}{4} \, n} + c h x^{n} - a h\right )} \left (d x\right )^{\frac{1}{4} \, n - 1}}{{\left (c x^{n} + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]